import { request } from "@/utils/request.js"

// get 接口实例1
export function port1(params) {
	return request({
		url: '/order/pacsOrder/queryById',
		params
	})
}

// post 接口接口2
export function port2(data) {
	return request({
		url: '/order/pacsOrder/queryById',
		method: "post",
		data
	})
}

// 获取职业培训
export function getTraining(query) {
  return request({
    url: '/reservation/trainingInfo/list',
	method: "get",
	  params: query
  })
}

// 地点预约开始
// 获取场地信息列表
export function getPlaceInfo(query) {
  return request({
    url: '/reservation/placeInfo/list',
	method: "get",
	  params: query
  })
}
// 写字楼-场地详细信息

export function getPlaceDetail(query) {
  return request({
    url: '/reservation/placeInfo/getInfo',
	method: "get",
	  params: query
  })
}
// 写字楼-场地预约提交

export function saveplaceReserve(data) {
  return request({
    url: '/reservation/placeReserve/save',
	method: "post",
	  params: data
  })
}

// 打卡地图
export function clockConfigList(query) {
  return request({
    url: '/activity/activity/clockConfig/list',
	method: "get",
	  params: query
  })
}